﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaseData.Domain
{
    /// <summary>
    /// 流水信息
    /// </summary>
    public class Amount
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int AmountId { get; set; }
        /// <summary>
        /// 操作编号
        /// </summary>
        public string OperatingNum { get; set; }
        /// <summary>
        /// 来源
        /// </summary>
        public string Source {  get; set; }
        /// <summary>
        /// 支付方式
        /// </summary>
        public string PaymentMethod { get; set; }
        /// <summary>
        /// 支付金额
        /// </summary>
        public decimal PaymentAmount { get; set; }
        /// <summary>
        /// 支付状态
        /// </summary>
        public bool PaymentStatus { get; set; }
        /// <summary>
        /// 卡内余额
        /// </summary>
        public decimal Balance { get; set; }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime OperatingTime { get; set; }=DateTime.Now;
        /// <summary>
        /// 业务id
        /// </summary>
        public int BusinessId { get; set; }
    }
}
